<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="com.grep.extra.dao.impl.TaskDAOSQL,com.grep.extra.factory.data.impl.TaskUrl"%>
<%
	String urlid = request.getParameter("urlid");
	TaskDAOSQL taskdao = new TaskDAOSQL();
	TaskUrl	 taskurl = new TaskUrl();
	
	taskurl = taskdao.getTaskUrlbyUrlId(urlid);
	
	String responseText = "{\"urlid\": \"" +taskurl.getId()+ "\",\"taskurl\": \"" +taskurl.getTaskUrl()+ "\"}";
	
	response.getWriter().println(responseText);
%>